#include <stdio.h>
#define N 36

int main() {
	
	int i,j;
	for(i=0;i<=N*2/8;i++)
	for(j=0;j<=(N*2-i*8)/4;j++)
	if (i+j+(N*2-i*8-j*4)==36) printf("Male: %d\tFemale: %d\tKids: %d\n",i,j,N*2-i*8-j*4);
	
	return 0;
}
